#!/bin/bash

echo "Uninstalling dependencies for shape analysis project..."
echo "This script is provided by Guangfu WANG."

function uninstall_packages_all(){
    sudo apt-get remove --auto-remove doxygen
    sudo apt-get remove --auto-remove libeigen3-dev
    sudo apt-get remove --auto-remove libassimp-dev
    sudo apt-get remove --auto-remove libglm-dev
    sudo apt-get remove --auto-remove libglew-dev
    sudo apt-get remove --auto-remove build-essential
    sudo apt-get remove --auto-remove qt5-default
    echo "All dependencies and their related dependencies are removed from your computer..."
}

function uninstall_packages_only_pack(){
    sudo apt-get remove doxygen
    sudo apt-get remove libeigen3-dev
    sudo apt-get remove libassimp-dev
    sudo apt-get remove libglm-dev
    sudo apt-get remove libglew-dev
    sudo apt-get remove build-essential
    sudo apt-get remove qt5-default
    echo "All dependencies are removed from your computer..."
}